<div class="options index form">
<h2><?php __('Options');?></h2>
<?php e($form->create('Options', array('action'=>'index'))); ?>
<fieldset>
    <?php e($form->hidden('Option.id')); ?>
    <?php e($form->input('Option.siteName', array('label'=>__('Site name', true), 'class'=>'input text'))); ?>
    <?php e($form->input('Option.siteFooter', array('label'=>__('Site footer', true), 'class'=>'input text'))); ?>
    <!-- Some Configurations are only visible to super administrators -->
    <?php if($user['group'] == 'root'): ?>
        <?php e($form->input('Option.longDateFormat', array('label'=>__('Long date format', true), 'class'=>'input text'))); ?>
        <?php e($form->input('Option.shortDateFormat', array('label'=>__('Short date format', true), 'class'=>'input text'))); ?>
        <?php e($form->input('Option.indexPageLimit', array('label'=>__('Index page limit', true), 'class'=>'input text'))); ?>
        <?php e($form->input('Option.homePageLimit', array('label'=>__('Home page limit', true), 'class'=>'input text'))); ?>
        <?php e($form->input('Option.postPageLimit', array('label'=>__('Post page limit', true), 'class'=>'input text'))); ?>
        <?php e($form->input('Option.developerEmail', array('label'=>__('Developer Email', true), 'class'=>'input text'))); ?>
    <?php endif; ?>
    <?php e($form->submit(__('Save Changes', true), array('class'=>'submit attention'))); ?>
</fieldset>
<?php e($form->end()); ?>

<?php //debug($this->data); ?>
</div>
